package cn.zlg.www.main;

import java.util.Arrays;

import cn.zlg.www.FrmData;

public class ItemData extends FrmData {

    public int count = 1;// 分类显示下，同ID帧的数目
    public boolean bRecv;

    public static final int MILLIS_PER_S = 1000;
    public static final int MILLIS_PER_MIN = MILLIS_PER_S * 60;
    public static final int MILLIS_PER_HOUR = MILLIS_PER_MIN * 60;
    public static final int MILLIS_PER_DAY = MILLIS_PER_HOUR * 60;
    public static final int MILLIS_PER_60DAY = MILLIS_PER_DAY * 60;

    public ItemData() {
        super();
        // TODO Auto-generated constructor stub
    }

    public ItemData(ItemData other) {
        super(other);
        // TODO Auto-generated constructor stub
        count = other.count;
        bRecv = other.bRecv;
    }

    @Override
    public String toString() {
        return "ItemData{" +
                "count=" + count +
                ", bRecv=" + bRecv +
                ", nID=" + nID +
                ", nSendType=" + nSendType +
                ", bExtend=" + bExtend +
                ", bRemote=" + bRemote +
                ", nDataLen=" + nDataLen +
                ", datas=" + Arrays.toString(datas) +
                ", nTime=" + nTime +
                '}';
    }
}
